{if $file.fileType == 1}
    {include file='form/file/type/image.tpl'}
{else if $file.fileType == 2}
    {include file='form/file/type/music.tpl'}
{else if $file.fileType == 3}
    {include file='form/file/type/document.tpl'}
{else if $file.fileType == 4}
    {include file='form/file/type/flash.tpl'}
{else if $file.fileType == 5}
    {include file='form/file/type/movie.tpl'}
{else if $file.fileType == 9}
    {include file='form/file/type/other.tpl'}
{/if}